﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.IO;
using System.Runtime.Serialization;
using System.Xml.Serialization;

using GeneralLib;
using GeneralDefine;
using System.ComponentModel;

namespace TableModule
{
    [XmlInclude(typeof(TableAxisSetting))]
    public class TableAxisSetting
    {
        //public string strMCCardName;
        public int iAxisNo { get; set; }
        public double plusToUnit { get; set; }
        public MotionDir homeDir { get; set; }
        public HomeMode homeMode { get; set; }
        public AxisUIPos axisUIPosForCW;
        public AxisUIPos axisUIPosForCCW;
        [ReadOnly(false),DisplayName("Uesd")]
        public bool bUsed { get; set; }

        public string strRemark;
        public TableAxisSetting()
        {
            //strMCCardName = "";
            homeDir = MotionDir.CW;
            homeMode = HomeMode.LIMIT_NEAR_ORG;
            plusToUnit = 0.001;
            strRemark = "";
            bUsed = true;
        }
    }
}
